function TimeSelectGt(prefix, timeTable, options) {
  this._prefix = prefix;
  this._timeTable = timeTable;
  
  this._showTime = (options && options.showTime) ? options.showTime : false;

  this._createElements();
}

TimeSelectGt.prototype._createElements = function() {
  var tr, td, a, input;
  if (this._showTime) {
    var minutes = ['00', '15', '30', '45'];

    this._timeTable.className = 'dateSelect';
    this._timeTable.style.borderBottom = 'none';
    this._timeTable.style.width = '100%';
    this._timeTable.style.margin = '0em 0em 0em 0em';
    tr = this._timeTable.insertRow(-1);
    td = tr.insertCell(-1);
    td.className = 'timeHeader';
    td.style.width = '6em';
    td.appendChild(document.createTextNode('Time'));

    td = tr.insertCell(-1);
    td.style.textAlign = 'right';
    this._hours = document.createElement('select');
    td.appendChild(this._hours);
    for (var i = 0; i < 24; i++) {
      this._hours.options[this._hours.options.length] = new Option(((i < 10) ? ('0' + i) : i), i);
    }
    this._hours.id = 'input' + this._prefix + '1';
    
    this._minutes = document.createElement('select');
    td.appendChild(this._minutes);
    
    for (var i = 0, il = minutes.length; i < il; i++) {
      this._minutes.options[this._minutes.options.length] = new Option(minutes[i], minutes[i]);
    }
    this._minutes.id = 'input' + this._prefix + '2';
    
  }
  
};